/**
 * 评论接口
 */

import base from "./base"
import { getData, postData } from "../utils/http"

const comment = {
    commentData(id) {
        return getData(base.comment + "?id=" + id);
    },
    addCommentData(data) {
        return postData(base.ordercomment, data)
    }
}


export default comment;